package com.ruoyi.system.domain.vo;

import java.util.List;

public class OrderVo {
    private List<CartVo> order;
    // 对应前端的 deliveryType 字段（配送类型）
    private String deliveryType;
    // 对应前端的 addressId 字段（地址ID）
    private Long addressId;
    // 对应前端的 flag 字段（标记，根据实际类型定义，这里假设是Integer）
    private Boolean flag;
    // 备注
    private String remark;


    @Override
    public String toString() {
        return "OrderVo{" +
                "order=" + order +
                ", deliveryType='" + deliveryType + '\'' +
                ", addressId=" + addressId +
                ", flag=" + flag +
                ", remark='" + remark + '\'' +
                '}';
    }

    public List<CartVo> getOrder() {
        return order;
    }

    public void setOrder(List<CartVo> order) {
        this.order = order;
    }

    public String getDeliveryType() {
        return deliveryType;
    }

    public void setDeliveryType(String deliveryType) {
        this.deliveryType = deliveryType;
    }

    public Long getAddressId() {
        return addressId;
    }

    public void setAddressId(Long addressId) {
        this.addressId = addressId;
    }

    public Boolean getFlag() {
        return flag;
    }

    public void setFlag(Boolean flag) {
        this.flag = flag;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
